package com.henry.customviewstudy.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import com.henry.customviewstudy.R;
import com.henry.customviewstudy.view.ScanRadar;

/**
 * Created by henry on 2018/5/19.
 */

public class ScanRadarActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_scan_radar);
        setTitle("雷达扫描图");
        ScanRadar scanRadar = findViewById(R.id.myScanRadar);
        scanRadar.setDirection(ScanRadar.DEFAULT_DIRECTION);
        scanRadar.start();
    }
}
